package com.unknowpupil.web.base.email.service;

import com.unknowpupil.web.base.email.entity.Mail;

/**
 * @Classname: MailService
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2019/10/8 16:07
 * @Description:
 * @Version: 1.0
 */
public interface MailService {
    /**
     * 简单邮件
     * @param mail
     */
    void sendSimpleMail(Mail mail);

    /**
     * html文件
     * @param mail
     */
    void sendHtmlMail(Mail mail);

    /**
     * 带附件文件
     * @param mail
     */
    void sendAttachmentsMail(Mail mail);
}
